package com.sptechsys.m2ejb32weblogic.ejb3.demo.ws;

import javax.jws.WebService;

/**
 * 
 * Class UploadServiceImpl<br>
 * 
 * @author <a href="mailto:info[at]sptechsys.com">SPTECHSYS</a>
 * @version 1.0
 */
@WebService(name = "UploadPortType", serviceName = "UploadService")
public class UploadServiceImpl {

	public String uploadFile(String message) {
		try {
			System.out.println("uploadFile start...");
			System.out.println(message+" uploaded successful!");
		} catch (Exception ex) {
			ex.printStackTrace();			
		}
		return "Here is the message uploaded: '" + message + "'";
	}

}
